import React, { FC, MouseEventHandler } from 'react';

const Button: FC<{
    onClick: MouseEventHandler
    children: any
}> = ({onClick, children}) => {
    return (
        <button onClick={ onClick }>{ children }</button>
    );
};

export default Button;